import order from '../controller/order/order'
import express from 'express'
const router = express.Router();
// router.get('/:data/count',order.orderCount)
router.get('/allOrder',order.allOrder)
router.get('/addOrder',order.addOrder)
router.get('/getAllOrder',order.getAllOrder)
router.get('/:date/count',order.orderCount);
router.get('/allOrderCount',order.allOrderCount);
export default router
// import order from '../controller/order/order'
// import express from 'express'
// const router = express.Router();
// // router.get('/:data/count',order.orderCount)
// router.get('/allOrder',order.allOrder)
// router.get('/addOrder',order.addOrder)
// router.get('/getAllOrder',order.getAllOrder)
// export default router